package com.atguigu.b_generic_class;

public class Demo {
    public static void main(String[] args) {
        Student<String> stu1 = new Student<>();

        stu1.setAge("18");

        Student<Integer> stu2 = new Student<>();

        stu2.setAge(18);


        System.out.println("stu1.getClass() == stu2.getClass() = " + (stu1.getClass() == stu2.getClass()));
    }
}
